FrameLib  2.0
DSP processing with frames of arbitrary timing and length
FrameLib_Context Class Reference

a class used to represent distinct non-connectable areas in the host environment. More...

#include <FrameLib_Context.h>

Public Types

using Allocator = ManagedPointer< FrameLib_LocalAllocator, &Global::getAllocator, &Global::releaseAllocator >
 
using ProcessingQueue = ManagedPointer< FrameLib_ProcessingQueue, &Global::getProcessingQueue, &Global::releaseProcessingQueue >
 

Public Member Functions

 FrameLib_Context (FrameLib_Global *global, void *reference)
 
 operator FrameLib_ErrorReporter & ()
 

Friends

bool operator== (const FrameLib_Context &a, const FrameLib_Context &b)
 
bool operator!= (const FrameLib_Context &a, const FrameLib_Context &b)
 

Detailed Description

a class used to represent distinct non-connectable areas in the host environment.

The context acts as a proxy to FrameLib_Global, and contains a suitable pointer reference to the context in the host environment. Resources for each context are held in the global object, and the context is passed as a parameter when creating any FrameLib object.

Member Typedef Documentation

◆ Allocator

using FrameLib_Context::Allocator = ManagedPointer<FrameLib_LocalAllocator, &Global::getAllocator, &Global::releaseAllocator>

◆ ProcessingQueue

using FrameLib_Context::ProcessingQueue = ManagedPointer<FrameLib_ProcessingQueue, &Global::getProcessingQueue, &Global::releaseProcessingQueue>

Constructor & Destructor Documentation

◆ FrameLib_Context()

FrameLib_Context::FrameLib_Context ( FrameLib_Global global,
void *  reference 
)
inline

Member Function Documentation

◆ operator FrameLib_ErrorReporter &()

FrameLib_Context::operator FrameLib_ErrorReporter & ( )
inline

Friends And Related Function Documentation

◆ operator!=

bool operator!= ( const FrameLib_Context a,
const FrameLib_Context b 
)
friend

◆ operator==

bool operator== ( const FrameLib_Context a,
const FrameLib_Context b 
)
friend

The documentation for this class was generated from the following file: